package com.jt9003.pojo;

import java.util.Date;
import java.util.List;

public class Prescription {
    private Integer preId;

    private String preName;

    private Integer preType;

    private Date preOpenDate;

    private String doctorWord;

    private Integer pId;

    private Integer drId;

    private Integer drAmount;

    private String uDoctorName;

    private Integer preDId;

    private Double preMoney;

    private String preConsumptionReal;  //药品用量的字符串

    private String preRemarks;  //给药房的备注
    private String preConsumptionReal2; //药品每天几次
    private String preConsumptionReal3; //药品每次多少
    private int preTakeType;    //服用方式   数据字典：37口服  38外用
    private Patient patient;
    private String t_id;          //模板id(院内协调方和调理方)

    public String getT_id() {
        return t_id;
    }

    public void setT_id(String t_id) {
        this.t_id = t_id;
    }

    public int getPreTakeType() {
        return preTakeType;
    }

    public void setPreTakeType(int preTakeType) {
        this.preTakeType = preTakeType;
    }

    public String getPreConsumptionReal2() {
        return preConsumptionReal2;
    }

    public void setPreConsumptionReal2(String preConsumptionReal2) {
        this.preConsumptionReal2 = preConsumptionReal2;
    }

    public String getPreConsumptionReal3() {
        return preConsumptionReal3;
    }

    public void setPreConsumptionReal3(String preConsumptionReal3) {
        this.preConsumptionReal3 = preConsumptionReal3;
    }

    private List<Drugs> drugs;//药品

    public List<Drugs> getDrugs() {
        return drugs;
    }

    public void setDrugs(List<Drugs> drugs) {
        this.drugs = drugs;
    }

    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    public Integer getPreId() {
        return preId;
    }

    public void setPreId(Integer preId) {
        this.preId = preId;
    }

    public String getPreName() {
        return preName;
    }

    public void setPreName(String preName) {
        this.preName = preName == null ? null : preName.trim();
    }

    public Integer getPreType() {
        return preType;
    }

    public void setPreType(Integer preType) {
        this.preType = preType;
    }

    public Date getPreOpenDate() {
        return preOpenDate;
    }

    public void setPreOpenDate(Date preOpenDate) {
        this.preOpenDate = preOpenDate;
    }

    public String getDoctorWord() {
        return doctorWord;
    }

    public void setDoctorWord(String doctorWord) {
        this.doctorWord = doctorWord == null ? null : doctorWord.trim();
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public Integer getDrId() {
        return drId;
    }

    public void setDrId(Integer drId) {
        this.drId = drId;
    }

    public Integer getDrAmount() {
        return drAmount;
    }

    public void setDrAmount(Integer drAmount) {
        this.drAmount = drAmount;
    }

    public String getuDoctorName() {
        return uDoctorName;
    }

    public void setuDoctorName(String uDoctorName) {
        this.uDoctorName = uDoctorName == null ? null : uDoctorName.trim();
    }

    public Integer getPreDId() {
        return preDId;
    }

    public void setPreDId(Integer preDId) {
        this.preDId = preDId;
    }

    public Double getPreMoney() {
        return preMoney;
    }

    public void setPreMoney(Double preMoney) {
        this.preMoney = preMoney;
    }

    public String getPreConsumptionReal() {
        return preConsumptionReal;
    }

    public void setPreConsumptionReal(String preConsumptionReal) {
        this.preConsumptionReal = preConsumptionReal == null ? null : preConsumptionReal.trim();
    }

    public String getPreRemarks() {
        return preRemarks;
    }

    public void setPreRemarks(String preRemarks) {
        this.preRemarks = preRemarks == null ? null : preRemarks.trim();
    }
}